package com.kayt.cyberBar.system.business.entity.po;

import com.kayt.cyberBar.common.base.BaseEntity;

import javax.persistence.*;

/**
 * Description
 *
 * @author Kevin
 * @since 12/28/2017 12:34
 */
@Entity
@Table(name = "s_system_menu_competence")
@NamedQuery(name = "SSystemMenuCompetence.findAll", query = "SELECT b FROM SSystemMenuCompetence b")
public class SSystemMenuCompetence extends BaseEntity{
    private Long id;
    private String menuCode;
    private String competenceCode;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "d_id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    @Column(name = "d_menu_code")
    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }
    @Column(name = "d_competence_code")
    public String getCompetenceCode() {
        return competenceCode;
    }

    public void setCompetenceCode(String competenceCode) {
        this.competenceCode = competenceCode;
    }
}
